[INFO] cloning repository https://github.com/davawen/Raytracing-Rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davawen/Raytracing-Rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavawen%2FRaytracing-Rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavawen%2FRaytracing-Rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3bece8b444c801e2fd997b50ea551112614c7d82
[INFO] checking davawen/Raytracing-Rs against master#4eb62535fc12dd1a63fd43a4173e224e79313c4d for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavawen%2FRaytracing-Rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/davawen/Raytracing-Rs
[INFO] finished tweaking git repo https://github.com/davawen/Raytracing-Rs
[INFO] tweaked toml for git repo https://github.com/davawen/Raytracing-Rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/davawen/Raytracing-Rs on toolchain 4eb62535fc12dd1a63fd43a4173e224e79313c4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/davawen/Raytracing-Rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.10
[INFO] [stderr]   Downloaded once_cell v1.12.0
[INFO] [stderr]   Downloaded num v0.4.0
[INFO] [stderr]   Downloaded either v1.7.0
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.81
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.9
[INFO] [stderr]   Downloaded crossbeam-channel v0.5.5
[INFO] [stderr]   Downloaded bit_field v0.10.1
[INFO] [stderr]   Downloaded lerp v0.4.0
[INFO] [stderr]   Downloaded lebe v0.5.1
[INFO] [stderr]   Downloaded semver v1.0.10
[INFO] [stderr]   Downloaded getrandom v0.2.7
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.81
[INFO] [stderr]   Downloaded quote v1.0.20
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.81
[INFO] [stderr]   Downloaded smallvec v1.9.0
[INFO] [stderr]   Downloaded spin v0.9.3
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.81
[INFO] [stderr]   Downloaded num-iter v0.1.43
[INFO] [stderr]   Downloaded pin-project-internal v1.0.10
[INFO] [stderr]   Downloaded unicode-ident v1.0.1
[INFO] [stderr]   Downloaded bytemuck v1.9.1
[INFO] [stderr]   Downloaded proc-macro2 v1.0.40
[INFO] [stderr]   Downloaded weezl v0.1.6
[INFO] [stderr]   Downloaded pin-project v1.0.10
[INFO] [stderr]   Downloaded miniz_oxide v0.5.3
[INFO] [stderr]   Downloaded deflate v1.0.0
[INFO] [stderr]   Downloaded flume v0.10.13
[INFO] [stderr]   Downloaded png v0.17.5
[INFO] [stderr]   Downloaded js-sys v0.3.58
[INFO] [stderr]   Downloaded num-bigint v0.4.3
[INFO] [stderr]   Downloaded bumpalo v3.10.0
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.81
[INFO] [stderr]   Downloaded exr v1.4.2
[INFO] [stderr]   Downloaded syn v1.0.98
[INFO] [stderr]   Downloaded glam v0.21.1
[INFO] [stderr]   Downloaded image v0.24.2
[INFO] [stderr]   Downloaded libc v0.2.126
[INFO] [stderr]   Downloaded gif v0.11.4
[INFO] [stderr]   Downloaded jpeg-decoder v0.2.6
[INFO] [stderr]   Downloaded tiff v0.7.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4462b3f35fd4d1859d111d7074ce2d0beb26a967b9c58c607909ce63d004c457
[INFO] running `Command { std: "docker" "start" "4462b3f35fd4d1859d111d7074ce2d0beb26a967b9c58c607909ce63d004c457", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4462b3f35fd4d1859d111d7074ce2d0beb26a967b9c58c607909ce63d004c457", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4462b3f35fd4d1859d111d7074ce2d0beb26a967b9c58c607909ce63d004c457" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4462b3f35fd4d1859d111d7074ce2d0beb26a967b9c58c607909ce63d004c457", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4462b3f35fd4d1859d111d7074ce2d0beb26a967b9c58c607909ce63d004c457" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.10
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]     Checking once_cell v1.12.0
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling rayon-core v1.9.3
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]     Checking either v1.7.0
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]     Checking weezl v0.1.6
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]     Checking lebe v0.5.1
[INFO] [stderr]     Checking miniz_oxide v0.5.3
[INFO] [stderr]     Checking deflate v1.0.0
[INFO] [stderr]     Checking inflate v0.4.5
[INFO] [stderr]     Checking bit_field v0.10.1
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking half v1.8.2
[INFO] [stderr]     Checking gif v0.11.4
[INFO] [stderr]     Checking bytemuck v1.9.1
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]     Checking itertools v0.10.3
[INFO] [stderr]     Checking glam v0.21.1
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.9
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling rayon v1.5.3
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]     Checking flate2 v1.0.24
[INFO] [stderr]     Checking png v0.17.5
[INFO] [stderr]     Checking crossbeam-channel v0.5.5
[INFO] [stderr]     Checking spin v0.9.3
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking nanorand v0.7.0
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking num-complex v0.4.2
[INFO] [stderr]     Checking lerp v0.4.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking num v0.4.0
[INFO] [stderr]     Checking jpeg-decoder v0.2.6
[INFO] [stderr]     Checking tiff v0.7.2
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]     Checking pin-project v1.0.10
[INFO] [stderr]     Checking flume v0.10.13
[INFO] [stderr]     Checking exr v1.4.2
[INFO] [stderr]     Checking image v0.24.2
[INFO] [stderr]     Checking raytracing v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Rgb` and `buffer::PixelsMut`
[INFO] [stdout]  --> src/main.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use image::{RgbImage, Rgb, buffer::PixelsMut};
[INFO] [stdout]   |                       ^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use itertools::Itertools;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Rng` and `thread_rng`
[INFO] [stdout]  --> src/bvh.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{thread_rng, Rng};
[INFO] [stdout]   |            ^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MaterialKind`
[INFO] [stdout]   --> src/main.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 |     material::{Material, MaterialKind}
[INFO] [stdout]    |                          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `square`
[INFO] [stdout]    --> src/main.rs:241:18
[INFO] [stdout]     |
[INFO] [stdout] 241 |     macro_rules! square {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Rgb` and `buffer::PixelsMut`
[INFO] [stdout]  --> src/main.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use image::{RgbImage, Rgb, buffer::PixelsMut};
[INFO] [stdout]   |                       ^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use itertools::Itertools;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Rng` and `thread_rng`
[INFO] [stdout]  --> src/bvh.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{thread_rng, Rng};
[INFO] [stdout]   |            ^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MaterialKind`
[INFO] [stdout]   --> src/main.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 |     material::{Material, MaterialKind}
[INFO] [stdout]    |                          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `square`
[INFO] [stdout]    --> src/main.rs:241:18
[INFO] [stdout]     |
[INFO] [stdout] 241 |     macro_rules! square {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Intersection`
[INFO] [stdout]   --> src/main.rs:14:20
[INFO] [stdout]    |
[INFO] [stdout] 14 | use intersection::{Intersection, Inter};
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w0`
[INFO] [stdout]    --> src/intersection.rs:210:18
[INFO] [stdout]     |
[INFO] [stdout] 210 |             let (w0, w1, w2) = (w0.max(0.0), w1.max(0.0), w2.max(0.0));
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_w0`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w1`
[INFO] [stdout]    --> src/intersection.rs:210:22
[INFO] [stdout]     |
[INFO] [stdout] 210 |             let (w0, w1, w2) = (w0.max(0.0), w1.max(0.0), w2.max(0.0));
[INFO] [stdout]     |                      ^^ help: if this is intentional, prefix it with an underscore: `_w1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w2`
[INFO] [stdout]    --> src/intersection.rs:210:26
[INFO] [stdout]     |
[INFO] [stdout] 210 |             let (w0, w1, w2) = (w0.max(0.0), w1.max(0.0), w2.max(0.0));
[INFO] [stdout]     |                          ^^ help: if this is intentional, prefix it with an underscore: `_w2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Intersection`
[INFO] [stdout]   --> src/main.rs:14:20
[INFO] [stdout]    |
[INFO] [stdout] 14 | use intersection::{Intersection, Inter};
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w0`
[INFO] [stdout]    --> src/intersection.rs:210:18
[INFO] [stdout]     |
[INFO] [stdout] 210 |             let (w0, w1, w2) = (w0.max(0.0), w1.max(0.0), w2.max(0.0));
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_w0`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w1`
[INFO] [stdout]    --> src/intersection.rs:210:22
[INFO] [stdout]     |
[INFO] [stdout] 210 |             let (w0, w1, w2) = (w0.max(0.0), w1.max(0.0), w2.max(0.0));
[INFO] [stdout]     |                      ^^ help: if this is intentional, prefix it with an underscore: `_w1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w2`
[INFO] [stdout]    --> src/intersection.rs:210:26
[INFO] [stdout]     |
[INFO] [stdout] 210 |             let (w0, w1, w2) = (w0.max(0.0), w1.max(0.0), w2.max(0.0));
[INFO] [stdout]     |                          ^^ help: if this is intentional, prefix it with an underscore: `_w2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `earth_normal`
[INFO] [stdout]    --> src/main.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 215 |     let earth_normal = Texture::from_file("/home/davawen/Pictures/2k_earth_normal_map.tif")?;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_earth_normal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rusty_metal_norm`
[INFO] [stdout]    --> src/main.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |     let rusty_metal_norm = Texture::from_file("/home/davawen/Pictures/3314-normal.jpg")?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rusty_metal_norm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bumpy_norm`
[INFO] [stdout]    --> src/main.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |     let bumpy_norm = Texture::from_file("/home/davawen/Pictures/bumpy_normal.jpg")?.set_wrapping(TextureWrapping::MirroredRepeat);
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bumpy_norm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scratched_norm`
[INFO] [stdout]    --> src/main.rs:219:9
[INFO] [stdout]     |
[INFO] [stdout] 219 |     let scratched_norm = Texture::from_file("/home/davawen/Pictures/reduced.png")?.set_wrapping(TextureWrapping::MirroredRepeat);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratched_norm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `intersection` is never used
[INFO] [stdout]   --> src/main.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn intersection<'a>(scene: &'a [&'a dyn Traceable], ray: &'a Ray) -> Option<Inter<&'a dyn Traceable>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_vector_in_hemisphere` is never used
[INFO] [stdout]   --> src/main.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn random_vector_in_hemisphere(normal: Vec3) -> Vec3 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `square` is never used
[INFO] [stdout]    --> src/main.rs:141:4
[INFO] [stdout]     |
[INFO] [stdout] 141 | fn square( center: Vec3, size: Vec2, orientation: Quat, material: Material ) -> ( Triangle, Triangle ) {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_emmitive` and `set_texture` are never used
[INFO] [stdout]    --> src/material.rs:198:12
[INFO] [stdout]     |
[INFO] [stdout] 188 | impl<'a> Material<'a> {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 198 |     pub fn new_emmitive(color: Color, intensity: f32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 203 |     pub fn set_texture(mut self, texture: &'a Texture) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ClampToEdge` is never constructed
[INFO] [stdout]   --> src/texture.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum TextureWrapping {
[INFO] [stdout]    |          --------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     ClampToEdge
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TextureWrapping` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/intersection.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn material(&self) -> &Material;
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^
[INFO] [stdout]    |                 |         ||
[INFO] [stdout]    |                 |         |the same lifetime is hidden here
[INFO] [stdout]    |                 |         the same lifetime is elided here
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn material(&self) -> &Material<'_>;
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/intersection.rs:93:17
[INFO] [stdout]    |
[INFO] [stdout] 93 |     fn material(&self) -> &Material {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^
[INFO] [stdout]    |                 |         ||
[INFO] [stdout]    |                 |         |the same lifetime is hidden here
[INFO] [stdout]    |                 |         the same lifetime is elided here
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 93 |     fn material(&self) -> &Material<'_> {
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/intersection.rs:151:17
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn material(&self) -> &Material {
[INFO] [stdout]     |                 ^^^^^     ^^^^^^^^^
[INFO] [stdout]     |                 |         ||
[INFO] [stdout]     |                 |         |the same lifetime is hidden here
[INFO] [stdout]     |                 |         the same lifetime is elided here
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn material(&self) -> &Material<'_> {
[INFO] [stdout]     |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/intersection.rs:183:17
[INFO] [stdout]     |
[INFO] [stdout] 183 |     fn material(&self) -> &Material {
[INFO] [stdout]     |                 ^^^^^     ^^^^^^^^^
[INFO] [stdout]     |                 |         ||
[INFO] [stdout]     |                 |         |the same lifetime is hidden here
[INFO] [stdout]     |                 |         the same lifetime is elided here
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 183 |     fn material(&self) -> &Material<'_> {
[INFO] [stdout]     |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `earth_normal`
[INFO] [stdout]    --> src/main.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 215 |     let earth_normal = Texture::from_file("/home/davawen/Pictures/2k_earth_normal_map.tif")?;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_earth_normal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rusty_metal_norm`
[INFO] [stdout]    --> src/main.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |     let rusty_metal_norm = Texture::from_file("/home/davawen/Pictures/3314-normal.jpg")?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rusty_metal_norm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bumpy_norm`
[INFO] [stdout]    --> src/main.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |     let bumpy_norm = Texture::from_file("/home/davawen/Pictures/bumpy_normal.jpg")?.set_wrapping(TextureWrapping::MirroredRepeat);
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bumpy_norm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scratched_norm`
[INFO] [stdout]    --> src/main.rs:219:9
[INFO] [stdout]     |
[INFO] [stdout] 219 |     let scratched_norm = Texture::from_file("/home/davawen/Pictures/reduced.png")?.set_wrapping(TextureWrapping::MirroredRepeat);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratched_norm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `intersection` is never used
[INFO] [stdout]   --> src/main.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn intersection<'a>(scene: &'a [&'a dyn Traceable], ray: &'a Ray) -> Option<Inter<&'a dyn Traceable>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_vector_in_hemisphere` is never used
[INFO] [stdout]   --> src/main.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn random_vector_in_hemisphere(normal: Vec3) -> Vec3 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `square` is never used
[INFO] [stdout]    --> src/main.rs:141:4
[INFO] [stdout]     |
[INFO] [stdout] 141 | fn square( center: Vec3, size: Vec2, orientation: Quat, material: Material ) -> ( Triangle, Triangle ) {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_emmitive` and `set_texture` are never used
[INFO] [stdout]    --> src/material.rs:198:12
[INFO] [stdout]     |
[INFO] [stdout] 188 | impl<'a> Material<'a> {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 198 |     pub fn new_emmitive(color: Color, intensity: f32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 203 |     pub fn set_texture(mut self, texture: &'a Texture) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ClampToEdge` is never constructed
[INFO] [stdout]   --> src/texture.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum TextureWrapping {
[INFO] [stdout]    |          --------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     ClampToEdge
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TextureWrapping` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/intersection.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn material(&self) -> &Material;
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^
[INFO] [stdout]    |                 |         ||
[INFO] [stdout]    |                 |         |the same lifetime is hidden here
[INFO] [stdout]    |                 |         the same lifetime is elided here
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn material(&self) -> &Material<'_>;
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/intersection.rs:93:17
[INFO] [stdout]    |
[INFO] [stdout] 93 |     fn material(&self) -> &Material {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^
[INFO] [stdout]    |                 |         ||
[INFO] [stdout]    |                 |         |the same lifetime is hidden here
[INFO] [stdout]    |                 |         the same lifetime is elided here
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 93 |     fn material(&self) -> &Material<'_> {
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/intersection.rs:151:17
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn material(&self) -> &Material {
[INFO] [stdout]     |                 ^^^^^     ^^^^^^^^^
[INFO] [stdout]     |                 |         ||
[INFO] [stdout]     |                 |         |the same lifetime is hidden here
[INFO] [stdout]     |                 |         the same lifetime is elided here
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn material(&self) -> &Material<'_> {
[INFO] [stdout]     |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/intersection.rs:183:17
[INFO] [stdout]     |
[INFO] [stdout] 183 |     fn material(&self) -> &Material {
[INFO] [stdout]     |                 ^^^^^     ^^^^^^^^^
[INFO] [stdout]     |                 |         ||
[INFO] [stdout]     |                 |         |the same lifetime is hidden here
[INFO] [stdout]     |                 |         the same lifetime is elided here
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 183 |     fn material(&self) -> &Material<'_> {
[INFO] [stdout]     |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.33s
[INFO] running `Command { std: "docker" "inspect" "4462b3f35fd4d1859d111d7074ce2d0beb26a967b9c58c607909ce63d004c457", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4462b3f35fd4d1859d111d7074ce2d0beb26a967b9c58c607909ce63d004c457", kill_on_drop: false }`
[INFO] [stdout] 4462b3f35fd4d1859d111d7074ce2d0beb26a967b9c58c607909ce63d004c457
